import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'fun',
    component: () => import('../views/FunView')
  },
  {
    path: '/file',
    name: 'file',
    component: () => import('../views/FileView')
  },
  {
    path: '/info',
    name: 'info',
    component: () => import('../views/InfoView')
  }
]

const router = new VueRouter({
  routes
})

export default router
